package com.example.javapracticaltraining.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.javapracticaltraining.entity.BaseData;
import lombok.Data;

import java.util.Date;

/**
 * 健康报告实体
 * @TableName ai_health_report
 */
@TableName(value = "ai_health_report")
@Data
public class AiHealthReport implements BaseData {
    /**
     * 报告ID
     */
    @TableId(value = "report_id", type = IdType.AUTO)
    private Integer reportId;

    /**
     * 老人ID
     */
    @TableField(value = "elderly_id")
    private Integer elderlyId;

    /**
     * 报告类型（daily, weekly, monthly）
     */
    @TableField(value = "report_type")
    private String reportType;

    /**
     * 生成日期
     */
    @TableField(value = "generated_date")
    private Date generatedDate;

    /**
     * 报告内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 报告摘要
     */
    @TableField(value = "summary")
    private String summary;

    /**
     * 健康趋势
     */
    @TableField(value = "health_trends")
    private String healthTrends;

    /**
     * 护理重点
     */
    @TableField(value = "care_points")
    private String carePoints;

    /**
     * 风险评估
     */
    @TableField(value = "risk_assessment")
    private String riskAssessment;

    /**
     * 建议
     */
    @TableField(value = "recommendations")
    private String recommendations;

    /**
     * 目标接收者角色（family, doctor）
     */
    @TableField(value = "target_role")
    private String targetRole;
}